package com.zy.service.impl;

import com.zy.dao.FindUserByNameDao;
import com.zy.dao.impl.FindUserByNameDaoImpl;
import com.zy.entity.User;
import com.zy.service.FindUserByNameService;

import java.util.List;

public class FindUserByNameServiceImpl implements FindUserByNameService {
    private FindUserByNameDao findUserByNameDao = new FindUserByNameDaoImpl();

    @Override
    public List<User> findUserByName(String name) {
        return findUserByNameDao.findUserByName(name);
    }
} 